$(function(){
    $("#email").click(function()
    {
        var email = $("#emailval").val();

        $.ajaxSetup({
                headers: {
                    'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
                }
            });
        $.post("/userContentdata",{"email":email},function(msg)
        {
            alert(msg);
        })

    })
})